	<div class="span12">
	<?php
    foreach(Yii::app()->user->getFlashes() as $key => $message) {
       // echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
		Yii::app()->user->setFlash($key, $message);
    }
	$this->widget('bootstrap.widgets.TbAlert', array(
        'block'=>true, // display a larger alert block?
        'fade'=>true, // use transitions?
       'closeText'=>'&times;',
        'alerts'=>array( // configurations per alert type
            'error'=>array('block'=>true, 'fade'=>true, 'closeText'=>'&times;'),// success, info, warning, error or danger
        ),
));
?>
	
	
	
	
							<?php
								$this->widget('bootstrap.widgets.TbGridView', array(
									'type'=>'striped',
									'dataProvider'=>$model,
									'template'=>"{items}",
									'columns'=>array(
									//	array('name'=>'idusuario', 'header'=>'idusuario'),
										array('name'=>'nombre', 'header'=>'Nombre'),
										array('name'=>'apellido', 'header'=>'Apellido'),
										//array('name'=>'Eliminar','value'=>'<a href="eliminar">Eliminar</a>'),
											 array(
												'name'=>'Enviar Solicitud',
												'type'=>'raw',
												'value'=>'CHtml::link(CHtml::encode("Enviar Solicitud"), array("invitaciones/enviar/idamigo/".$data["idusuario"]))',
											),
									),
								)); ?>
							</div>
							
